﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
namespace BUS
{
    public class BCNam_BUS
    {
        public static List<BCNam_DTO> lapBaoCaoNam(int nam)
        {
            if (BCNam_DAO.kiemTraBCNam(nam))
            {
                return BCNam_DAO.lapBaoCaoNam(nam);
            }
            else return null;
        }

        //thong ke tat ca cac nam hien co trong he thong
        public static List<int> thongKeNam()
        {
            return BCNam_DAO.thongKeNam();
        }
    }
}
